#ifndef __SOLAR_H
#define __SOLAR_H

#include "stm32f10x.h"

// Liquid Cooling Controller info cmd (send from Liquid Cooling Controller to Device)
#define	LCC_ReadVersionInfo 0x180130A0  //Read version information
// 光伏发电电流     SC_SolarInputCurrent      bit 0~15
// 光伏发电电压     SC_SolarInputVoltage      bit 16~23
// 光伏发电功率     SC_SolarInputPower        bit 24~39
// 充电电流(低压)   SC_ChargeCurrentLV        bit 40~55
// 充电电压(低压)   SC_ChargeVoltageLV        bit 56~63
#define	LCC_ReadStatusInfo 0x180330A0  //Read Status information
#define	LCC_ReadFaultInfo 0x180530A0  //Read Fault information
#define	LCC_SetDebugMode 0x180730A0  //Debug Mode
#define	LCC_SetAlarmValue 0x180930A0  //Alarm value setting
#define	LCC_SetStartStopValue 0x180A30A0  //Start-Stop value setting

// Liquid Cooling Controller info cmd (send from Device to Liquid Cooling Controller)
#define	LCC_VersionInfo 0x1802A030  //Version information
// 光伏发电电流     SC_SolarInputCurrent      bit 0~15
// 光伏发电电压     SC_SolarInputVoltage      bit 16~23
// 光伏发电功率     SC_SolarInputPower        bit 24~39
// 充电电流(低压)   SC_ChargeCurrentLV        bit 40~55
// 充电电压(低压)   SC_ChargeVoltageLV        bit 56~63
#define	LCC_StatusInfo 0x1804A030  //Status information
#define	LCC_FaultInfo 0x1806A030  //Fault information
#define	LCC_DebugMode 0x1808A030  //Debug Mode
#define	LCC_AlarmValue 0x180BA030  //Alarm value
#define	LCC_StartStopValue 0x180CA030  //Start-Stop value

void getStatusInfo();  // 液冷控制器信息报文    
#endif
